package com.chalk.model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author glq
 * @since 2020-12-21
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_coach_and_se")
@ApiModel(value="CoachAndSe对象", description="教练和运动类型")
public class CoachAndSe implements Serializable {

    private static final long serialVersionUID=1L;

    public CoachAndSe(Integer coachId, Integer seId) {
        this.coachId = coachId;
        this.seId = seId;
    }

    @ApiModelProperty(value = "教练运动项目关系表id")
    @TableId(value = "id", type = IdType.AUTO)
    @JsonProperty("id")
    private Integer id;

    @ApiModelProperty(value = "教练id")
    @JsonProperty("coachId")
    private Integer coachId;

    @ApiModelProperty(value = "运动项目id")
    @JsonProperty("seId")
    private Integer seId;


}
